import java.util.ArrayList;

public class Generics4 {

	public static void main(String[] args) {
		ArrayList<Integer> ai = new ArrayList<Integer>();
		ArrayList<String> as = new ArrayList<String>();
		Boolean b1 = (ai.getClass() == as.getClass());
		System.out.println( "Do ArrayList<Integer> and ArrayList<String> share same class? " + b1);
	}
}
